<?php
/*
 * @model Post
 */
?>
<div class="box">
	<div class="box-title">
		<h4><i class="icon-briefcase"></i>Meta Information</h4>
	</div>
	<div class="box-content">
		<div class="control-group">
			<?php echo $form->labelEx($model,'slug', array('class'=>'control-label')); ?>
			<div class="controls">
				<?php echo $form->textField($model,'slug',array('class'=>'span8','maxlength'=>200)); ?>
				<?php echo $form->error($model,'slug'); ?>
			</div>
		</div>

		<div class="control-group">
			<?php echo $form->labelEx($model,'status', array('class'=>'control-label')); ?>
			<div class="controls">
				<?php echo $form->radioButtonList($model, 'status', $model->getStatusListData(), Helper::getRadioOptions() ); ?>
				<?php echo $form->error($model,'status'); ?>
			</div>
		</div>

		<div class="control-group">
			<?php echo $form->labelEx($model,'rating', array('class'=>'control-label')); ?>
			<div class="controls">
				<?php echo $form->dropDownList($model,'rating', $model->getRatingListData(), array('empty'=>'')); ?>
				<?php echo $form->error($model,'rating'); ?>
			</div>
		</div>

		<div class="control-group">
			<?php echo $form->labelEx($model,'visibility', array('class'=>'control-label')); ?>
			<div class="controls">
				<?php echo $form->dropDownList($model,'visibility', $model->getVisibilityListData(), array('empty'=>'')); ?>
				<?php echo $form->error($model,'visibility'); ?>
			</div>
		</div>
	</div>
</div>
